package com.qf.entity.netty;

import jdk.nashorn.internal.runtime.logging.Logger;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description:
 * @Author: xbb
 * @Date:2020/4/21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NettyMsg implements Serializable {

    /**
     * 1.新连接
     * 2.心跳
     * 3.聊天消息
     * 4.正在输入
     * 5.结束输入
     * 6.挤下线
     */
    private Integer type;

    /**
     * 客户端的设备id
     */
    private String did;
}
